.wgt-slider {
  &.padded {
    padding: 10px 0;
  }
  .wgt-hd {
    padding: 10px;
    .title {
      font-size: 18px;
      font-weight: 600;
      color: #333;
    }
    .sub-title {
      color: #666;
      margin-left: 4px;
    }
  }
  .wgt-bd {
    position: relative;
    &.spaced {
      padding: 0 10px;
      .slider-container {
        right: 10px;
        left: 10px;
      }
      .slider-pagination {
        right: 10px;
        left: 10px;
      }
    }
    &.padded {
      padding: 0 10px;
    }
  }
  .slider-item {
    overflow: hidden;
    &.rounded {
      border-radius: 8px;
    }
    &.padded {
      padding: 0 10px;
    }
  }
  .placeholder-item {
    visibility: hidden;
  }
  .slider-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    .sp-image {
      &.rounded {
        border-radius: 8px;
      }
    }
  }
  .el-carousel__container {
    height: 100%;
  }
  .slider-pagination {
    z-index: 1000;
    display: flex;
    margin: 0 4px;
    padding: 8px 0;
    &.cover {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      margin: 0 14px;
    }
    &.cover-padded {
      margin-top: 0;
    }

    &.left {
      justify-content: flex-start;
    }
    &.center {
      justify-content: center;
    }
    &.right {
      justify-content: flex-end;
    }

    &.dark {
      .dot-item {
        background: rgba(0, 0, 0, 0.4);
      }
      .pagination-count {
        background: rgba(0, 0, 0, 0.4);
        color: #fff;
      }
    }
    &.light {
      .dot-item {
        background: rgba(255, 255, 255, 0.7);
      }
      .pagination-count {
        background: rgba(255, 255, 255, 0.7);
        color: #555;
      }
    }

    &.rectangle {
      .dot-item {
        width: 16px;
        height: 4px;
        margin: 0 4px;
        border-radius: 2px;
        &.active {
          background: #d42f29;
        }
      }
      .pagination-count {
        font-size: 12px;
        line-height: 14px;
        padding: 0 2px;
        border-radius: 2px;
      }
    }
    &.circle {
      .dot-item {
        width: 8px;
        height: 8px;
        border-radius: 4px;
        margin: 0 4px;
        &.active {
          background: #d42f29;
        }
      }
      .pagination-count {
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        font-size: 12px;
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
}
